@import models.wifi.WiFiInfo
@(message: String,groups:Seq[WiFiInfo])(implicit request: RequestHeader,session:Session)
@import views.html.admin._
@main(message , scripts=scripts) {

<div><h1>WiFi信息</h1> </div>

<div class="layui-form layui-border-box layui-table-view" >
    <table class="layui-hide" id="demotable" lay-filter="test"></table>
</div>

}
@scripts = {
<script src='@routes.Assets.versioned("js/layui_wifi.js")' type="text/javascript"></script>


<div class="layui-row layui-col-space2" id="edit-form" style="display:none;padding:10px;width:400px;height:210px;">
    <form class="layui-form layui-form-pane" style="" lay-filter="layer-edit-form">
        <div class="layui-form-item">
            <label class="layui-form-label">SSID</label>
            <div class="layui-input-block">
                <input type="text"  name="name" value="" class="layui-input" lay-verify="required" id="layer-edit-form-name">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">密码</label>
            <div class="layui-input-block">
                <input type="text" name="password" class="layui-input" lay-verify="required">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">说明</label>
            <div class="layui-input-block">
                <input type="text" name="note" value="" class="layui-input" >
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">公开</label>
            <div class="layui-input-block">
                <input type="checkbox" name="online" lay-skin="switch" lay-text="ON|OFF" >
            </div>
        </div>

    </form>
</div>
        }